package com.yungu.swift.assets.driver.dao;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.yungu.swift.assets.driver.model.dto.DriverMessageDto;
import com.yungu.swift.base.mapper.IMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * CommonDriverMessageMapper数据库操作接口类
 **/

@Mapper
public interface DriverMessageMapper extends IMapper<DriverMessageDto> {

    List<String> getUuids(Map<String, Object> params);

    List<DriverMessageDto> getListForQuery(Map<String, Object> params);

    /**
     * 查询司机消息
     *
     * @param param      Map
     * @param pageBounds PageBounds
     * @return List
     */
    List<DriverMessageDto> queryDriMsg(Map param, PageBounds pageBounds);
}